package njust.domain;

import java.util.HashSet;
import java.util.Set;

@SuppressWarnings("serial")
public class User implements java.io.Serializable{
	private int id;
	private String sex;
	private String username;
	private String password;
	private String phonenumber;
	private String qq;
	private Set<Goods> goods = new HashSet<Goods>();
	private Set<Needs> needs = new HashSet<Needs>();
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhonenumber() {
		return phonenumber;
	}
	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public Set<Goods> getGoods() {
		return goods;
	}
	public void setGoods(Set<Goods> goods) {
		this.goods = goods;
	}
	public Set<Needs> getNeeds() {
		return needs;
	}
	public void setNeeds(Set<Needs> needs) {
		this.needs = needs;
	}
	

}
